cmake_minimum_required(VERSION 3.17)
project(Math)

math(EXPR val1 "100 * 0xA")
math(EXPR val2 "100 * 0xA" OUTPUT_FORMAT DECIMAL)
math(EXPR val3 "100 * 0xA" OUTPUT_FORMAT HEXADECIMAL)

message("val1 = ${val1}")
message("val2 = ${val2}")
message("val3 = ${val3}")
